import { Router } from 'express'
import { createGame, handleMove } from '../controllers/gameController'

const router = Router()

// 创建新游戏
router.post('/games', createGame)

// 处理玩家移动
router.post('/games/move', handleMove)

export default router